﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200132F RID: 4911
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeChallengeRewardCsReq : IMessage<TakeChallengeRewardCsReq>, IMessage, IEquatable<TakeChallengeRewardCsReq>, IDeepCloneable<TakeChallengeRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003DF3 RID: 15859
		// (get) Token: 0x0600DBD7 RID: 56279 RVA: 0x0024CC3C File Offset: 0x0024AE3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeChallengeRewardCsReq> Parser
		{
			get
			{
				return TakeChallengeRewardCsReq._parser;
			}
		}

		// Token: 0x17003DF4 RID: 15860
		// (get) Token: 0x0600DBD8 RID: 56280 RVA: 0x0024CC43 File Offset: 0x0024AE43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeChallengeRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003DF5 RID: 15861
		// (get) Token: 0x0600DBD9 RID: 56281 RVA: 0x0024CC55 File Offset: 0x0024AE55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeChallengeRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DBDA RID: 56282 RVA: 0x0024CC5C File Offset: 0x0024AE5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChallengeRewardCsReq()
		{
		}

		// Token: 0x0600DBDB RID: 56283 RVA: 0x0024CC64 File Offset: 0x0024AE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChallengeRewardCsReq(TakeChallengeRewardCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DBDC RID: 56284 RVA: 0x0024CC89 File Offset: 0x0024AE89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChallengeRewardCsReq Clone()
		{
			return new TakeChallengeRewardCsReq(this);
		}

		// Token: 0x17003DF6 RID: 15862
		// (get) Token: 0x0600DBDD RID: 56285 RVA: 0x0024CC91 File Offset: 0x0024AE91
		// (set) Token: 0x0600DBDE RID: 56286 RVA: 0x0024CC99 File Offset: 0x0024AE99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x0600DBDF RID: 56287 RVA: 0x0024CCA2 File Offset: 0x0024AEA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeChallengeRewardCsReq);
		}

		// Token: 0x0600DBE0 RID: 56288 RVA: 0x0024CCB0 File Offset: 0x0024AEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeChallengeRewardCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DBE1 RID: 56289 RVA: 0x0024CCE0 File Offset: 0x0024AEE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DBE2 RID: 56290 RVA: 0x0024CD1F File Offset: 0x0024AF1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DBE3 RID: 56291 RVA: 0x0024CD27 File Offset: 0x0024AF27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DBE4 RID: 56292 RVA: 0x0024CD30 File Offset: 0x0024AF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DBE5 RID: 56293 RVA: 0x0024CD64 File Offset: 0x0024AF64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DBE6 RID: 56294 RVA: 0x0024CDA2 File Offset: 0x0024AFA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeChallengeRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DBE7 RID: 56295 RVA: 0x0024CDD3 File Offset: 0x0024AFD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DBE8 RID: 56296 RVA: 0x0024CDDC File Offset: 0x0024AFDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400574D RID: 22349
		private static readonly MessageParser<TakeChallengeRewardCsReq> _parser = new MessageParser<TakeChallengeRewardCsReq>(() => new TakeChallengeRewardCsReq());

		// Token: 0x0400574E RID: 22350
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400574F RID: 22351
		public const int GroupIdFieldNumber = 3;

		// Token: 0x04005750 RID: 22352
		private uint groupId_;
	}
}
